package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 主播动态表
 * </p>
 *
 * @author Shane
 * @since 2019-07-29
 */
@TableName("user_dynamic")
public class UserDynamic implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户id
	 */
	@TableField(value="user_id")
	private Integer userId;

	/**
	 * 类型，0-图片  1-视频
	 */
	@TableField(value = "`type`")
	private Integer type;

	private String cover;

	/**
	 * 文件路径
	 */
	private String url;

	/**
	 * 标题
	 */
	private String title;

	private String address;

	private String lnglat;

	/**
	 * 金币数量，0表示免费
	 */
	@TableField(value = "config_id")
	private Integer configId;

	private Integer wi;

	/**
	 * 状态，0-未删除  1-已删除
	 */
	@TableField(value = "`status`")
	private Integer status;

	/**
	 * 
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 审核状态，0-待审核  1-通过  2-拒绝
	 */
	@TableField(value="audit_status")
	private Integer auditStatus;

	/**
	 * 审核时间
	 */
	@TableField(value="aduit_time")
	private Date auditTime;

	/**
	 * 审核理由
	 */
	private String reason;

	/**
	 * 审核人员id
	 */
	@TableField(value="audit_user_id")
	private Integer auditUserId;

	public UserDynamic() {
	}

	public UserDynamic(Integer userId, Integer type, String cover, String url, String title, Integer configId, String address, String lnglat) {
		this.userId = userId;
		this.type = type;
		this.cover = cover;
		this.url = url;
		this.title = title;
		this.configId = configId;
		this.address = address;
		this.lnglat = lnglat;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLnglat() {
		return lnglat;
	}

	public void setLnglat(String lnglat) {
		this.lnglat = lnglat;
	}

	public Integer getConfigId() {
		return configId;
	}

	public void setConfigId(Integer configId) {
		this.configId = configId;
	}

	public Integer getWi() {
		return wi;
	}

	public void setWi(Integer wi) {
		this.wi = wi;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Integer getAuditUserId() {
		return auditUserId;
	}

	public void setAuditUserId(Integer auditUserId) {
		this.auditUserId = auditUserId;
	}
}
